package org.shan.lf.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by amanda.shan on 2019-07-27.
 */
@ApiModel("更新医生信息")
@Data
public class DoctorUpdateForm {

    @ApiModelProperty(value = "头像")
    private String pic;

    @NotBlank
    @ApiModelProperty(value = "姓名")
    private String name;

    @NotBlank
    @ApiModelProperty(value = "性别 M，F", example = "M")
    private String gender;

    @NotNull
    @ApiModelProperty(value = "所属医院id", example = "1")
    private Integer hospitalId;

    @NotNull
    @ApiModelProperty(value = "所属科室id", example = "1")
    private Integer officeId;

    @NotBlank
    @ApiModelProperty(value = "职称", example = "住院医生")
    private String title;

}
